<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Starshatter_Open: Asteroid Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Starshatter_Open
   </div>
   <div id="projectbrief">Open source Starshatter engine</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_asteroid.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">Asteroid Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_asteroid_8h_source.html">Asteroid.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Asteroid:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_asteroid.png" usemap="#Asteroid_map" alt=""/>
  <map id="Asteroid_map" name="Asteroid_map">
<area href="class_debris.html" alt="Debris" shape="rect" coords="0,112,69,136"/>
<area href="class_sim_object.html" alt="SimObject" shape="rect" coords="0,56,69,80"/>
<area href="class_physical.html" alt="Physical" shape="rect" coords="0,0,69,24"/>
</map>
 </div></div>

<p><a href="class_asteroid-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ab2d74e99f6f542e20729741b37fb8693"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_asteroid.html#ab2d74e99f6f542e20729741b37fb8693">Asteroid</a> (int type, const <a class="el" href="struct_vec3.html">Vec3</a> &amp;pos, double <a class="el" href="class_physical.html#a7c68f6e32d5725d6ae0099400f7c0b6e">mass</a>)</td></tr>
<tr class="inherit_header pub_methods_class_debris"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_debris')"><img src="closed.png" alt="-"/>&nbsp;Public Member Functions inherited from <a class="el" href="class_debris.html">Debris</a></td></tr>
<tr class="memitem:a40d5499761199516ae73b696f49d91cf inherit pub_methods_class_debris"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_debris.html#a40d5499761199516ae73b696f49d91cf">Debris</a> (<a class="el" href="class_model.html">Model</a> *model, const <a class="el" href="struct_vec3.html">Vec3</a> &amp;pos, const <a class="el" href="struct_vec3.html">Vec3</a> &amp;vel, double <a class="el" href="class_physical.html#a7c68f6e32d5725d6ae0099400f7c0b6e">mass</a>)</td></tr>
<tr class="memitem:aef4a60e81c248b9721bacef51d29565c inherit pub_methods_class_debris"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_debris.html#aef4a60e81c248b9721bacef51d29565c">SetLife</a> (int seconds)</td></tr>
<tr class="memitem:a895946cbf5b3a8af12e95bb5c42ecca8 inherit pub_methods_class_debris"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_debris.html#a895946cbf5b3a8af12e95bb5c42ecca8">HitBy</a> (<a class="el" href="class_shot.html">Shot</a> *shot, <a class="el" href="struct_point.html">Point</a> &amp;impact)</td></tr>
<tr class="memitem:a509596fde89a901af58ffffd3c19dabd inherit pub_methods_class_debris"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_debris.html#a509596fde89a901af58ffffd3c19dabd">ExecFrame</a> (double seconds)</td></tr>
<tr class="memitem:a0ba3acd2078a883d2487dc9bb2f1e582 inherit pub_methods_class_debris"><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_debris.html#a0ba3acd2078a883d2487dc9bb2f1e582">AltitudeAGL</a> () const </td></tr>
<tr class="inherit_header pub_methods_class_sim_object"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_sim_object')"><img src="closed.png" alt="-"/>&nbsp;Public Member Functions inherited from <a class="el" href="class_sim_object.html">SimObject</a></td></tr>
<tr class="memitem:a6c69da7ea030be24368b4da558ae63c1 inherit pub_methods_class_sim_object"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sim_object.html#a6c69da7ea030be24368b4da558ae63c1">SimObject</a> ()</td></tr>
<tr class="memitem:a8bdca8f73ae2749e305b6077aecd3c60 inherit pub_methods_class_sim_object"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sim_object.html#a8bdca8f73ae2749e305b6077aecd3c60">SimObject</a> (const char *n, int t=0)</td></tr>
<tr class="memitem:a5ad9e70d2845434235780f39d95906f2 inherit pub_methods_class_sim_object"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sim_object.html#a5ad9e70d2845434235780f39d95906f2">~SimObject</a> ()</td></tr>
<tr class="memitem:aa15b8215840833436f14f22919cf01f5 inherit pub_methods_class_sim_object"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_sim_region.html">SimRegion</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sim_object.html#aa15b8215840833436f14f22919cf01f5">GetRegion</a> () const </td></tr>
<tr class="memitem:a8058f379a6013c9ed7eab1dbed404d38 inherit pub_methods_class_sim_object"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sim_object.html#a8058f379a6013c9ed7eab1dbed404d38">SetRegion</a> (<a class="el" href="class_sim_region.html">SimRegion</a> *rgn)</td></tr>
<tr class="memitem:a0c85131bf7bd49549606d0b5aa6d5dd4 inherit pub_methods_class_sim_object"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sim_object.html#a0c85131bf7bd49549606d0b5aa6d5dd4">Notify</a> ()</td></tr>
<tr class="memitem:a090a75a5b60d9ef25f9fe15443f33793 inherit pub_methods_class_sim_object"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sim_object.html#a090a75a5b60d9ef25f9fe15443f33793">Register</a> (<a class="el" href="class_sim_observer.html">SimObserver</a> *obs)</td></tr>
<tr class="memitem:a1ea6bea057e5c482e5a2fd04338d9f80 inherit pub_methods_class_sim_object"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sim_object.html#a1ea6bea057e5c482e5a2fd04338d9f80">Unregister</a> (<a class="el" href="class_sim_observer.html">SimObserver</a> *obs)</td></tr>
<tr class="memitem:a4e9cf8e13cdb901e6e6f09a8b4951c5a inherit pub_methods_class_sim_object"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sim_object.html#a4e9cf8e13cdb901e6e6f09a8b4951c5a">Activate</a> (<a class="el" href="class_scene.html">Scene</a> &amp;scene)</td></tr>
<tr class="memitem:a1a44d563a6151756b1514fba646c5360 inherit pub_methods_class_sim_object"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sim_object.html#a1a44d563a6151756b1514fba646c5360">Deactivate</a> (<a class="el" href="class_scene.html">Scene</a> &amp;scene)</td></tr>
<tr class="memitem:adb8e82281f413545f6330530488fac03 inherit pub_methods_class_sim_object"><td class="memItemLeft" align="right" valign="top">virtual DWORD&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sim_object.html#adb8e82281f413545f6330530488fac03">GetObjID</a> () const </td></tr>
<tr class="memitem:a50f7f2a23635713d123d6811b38fc848 inherit pub_methods_class_sim_object"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sim_object.html#a50f7f2a23635713d123d6811b38fc848">SetObjID</a> (DWORD <a class="el" href="class_physical.html#ada97e68f8c9359d9c934f0e45918c774">id</a>)</td></tr>
<tr class="memitem:abd5607a8db831defd3e1ea309a1cf233 inherit pub_methods_class_sim_object"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sim_object.html#abd5607a8db831defd3e1ea309a1cf233">IsHostileTo</a> (const <a class="el" href="class_sim_object.html">SimObject</a> *o) const </td></tr>
<tr class="inherit_header pub_methods_class_physical"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_physical')"><img src="closed.png" alt="-"/>&nbsp;Public Member Functions inherited from <a class="el" href="class_physical.html">Physical</a></td></tr>
<tr class="memitem:ac11a1bca87389886d9d8291fef41ad8c inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#ac11a1bca87389886d9d8291fef41ad8c">Physical</a> ()</td></tr>
<tr class="memitem:aad0f1cffb043f81488f6f24e9f8ef3fd inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#aad0f1cffb043f81488f6f24e9f8ef3fd">Physical</a> (const char *n, int t=0)</td></tr>
<tr class="memitem:a91cc6325d27fe86bddeab281c0ff068f inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a91cc6325d27fe86bddeab281c0ff068f">~Physical</a> ()</td></tr>
<tr class="memitem:a05e7ed3478a661bc38517f328256f988 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a05e7ed3478a661bc38517f328256f988">operator==</a> (const <a class="el" href="class_physical.html">Physical</a> &amp;p) const </td></tr>
<tr class="memitem:a8e2aba22eb7fae7db322ba0b21b05758 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a8e2aba22eb7fae7db322ba0b21b05758">AeroFrame</a> (double seconds)</td></tr>
<tr class="memitem:a88fac6ecccf78d96ccb164d1e9797f58 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a88fac6ecccf78d96ccb164d1e9797f58">ArcadeFrame</a> (double seconds)</td></tr>
<tr class="memitem:a06d9391d5c0b3b32783a3b1f60f59e17 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a06d9391d5c0b3b32783a3b1f60f59e17">AngularFrame</a> (double seconds)</td></tr>
<tr class="memitem:abf3689db9ce20a6cb3901ce8d5d10762 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#abf3689db9ce20a6cb3901ce8d5d10762">LinearFrame</a> (double seconds)</td></tr>
<tr class="memitem:abe8b831faa85d7022f641209213e18d7 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#abe8b831faa85d7022f641209213e18d7">CalcFlightPath</a> ()</td></tr>
<tr class="memitem:aaab110c0381fdc000018c6a65b9ef657 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#aaab110c0381fdc000018c6a65b9ef657">MoveTo</a> (const <a class="el" href="struct_point.html">Point</a> &amp;new_loc)</td></tr>
<tr class="memitem:a441070b74fe991914da5bc4d3b25124c inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a441070b74fe991914da5bc4d3b25124c">TranslateBy</a> (const <a class="el" href="struct_point.html">Point</a> &amp;ref)</td></tr>
<tr class="memitem:a2d36b9780cfaa079f7402a4d5c491c91 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a2d36b9780cfaa079f7402a4d5c491c91">ApplyForce</a> (const <a class="el" href="struct_point.html">Point</a> &amp;force)</td></tr>
<tr class="memitem:a021f0362ffa486a3b46bd727e83a5839 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a021f0362ffa486a3b46bd727e83a5839">ApplyTorque</a> (const <a class="el" href="struct_point.html">Point</a> &amp;torque)</td></tr>
<tr class="memitem:acb6369b0de01a11ae7c4135b777d7a24 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#acb6369b0de01a11ae7c4135b777d7a24">SetThrust</a> (double t)</td></tr>
<tr class="memitem:af340eb740dfcd3a58abba041255f438b inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#af340eb740dfcd3a58abba041255f438b">SetTransX</a> (double t)</td></tr>
<tr class="memitem:a0d5a6d2cfc223e6ea9661599e331aaa8 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a0d5a6d2cfc223e6ea9661599e331aaa8">SetTransY</a> (double t)</td></tr>
<tr class="memitem:a10bef5ec31ba56a8965778a0edaddd64 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a10bef5ec31ba56a8965778a0edaddd64">SetTransZ</a> (double t)</td></tr>
<tr class="memitem:af7174818ed105cf84fb3ed46f68a824c inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#af7174818ed105cf84fb3ed46f68a824c">SetHeading</a> (double r, double p, double y)</td></tr>
<tr class="memitem:a7a21ad2f57ef7634de4cfc8403e82f1d inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a7a21ad2f57ef7634de4cfc8403e82f1d">LookAt</a> (const <a class="el" href="struct_point.html">Point</a> &amp;dst)</td></tr>
<tr class="memitem:adc0005c9ad6bea9c1beb03912ba1a079 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#adc0005c9ad6bea9c1beb03912ba1a079">ApplyRoll</a> (double roll_acc)</td></tr>
<tr class="memitem:a5137b08d6a56f79c00cc7f8b5d66a146 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a5137b08d6a56f79c00cc7f8b5d66a146">ApplyPitch</a> (double pitch_acc)</td></tr>
<tr class="memitem:a4b5a83f5bd906e0c09ff326f5c0168a2 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a4b5a83f5bd906e0c09ff326f5c0168a2">ApplyYaw</a> (double yaw_acc)</td></tr>
<tr class="memitem:a07ea38d0c62738583a283dc805ab7948 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a07ea38d0c62738583a283dc805ab7948">CollidesWith</a> (<a class="el" href="class_physical.html">Physical</a> &amp;o)</td></tr>
<tr class="memitem:a90321d772170e0ff0745667aad65cf65 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a90321d772170e0ff0745667aad65cf65">InflictDamage</a> (double damage, int type=0)</td></tr>
<tr class="memitem:a46304a3da17a2d7704e8cca3b09a798a inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a46304a3da17a2d7704e8cca3b09a798a">Identity</a> () const </td></tr>
<tr class="memitem:a2ce9ae48d2e4f4fb434bdc4083746068 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a2ce9ae48d2e4f4fb434bdc4083746068">Type</a> () const </td></tr>
<tr class="memitem:a805a89f8e93e2e66452b5cb6ab0c5f6b inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a805a89f8e93e2e66452b5cb6ab0c5f6b">Name</a> () const </td></tr>
<tr class="memitem:a18d7b806f29edde8af178ae9a6d0ad90 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_point.html">Point</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a18d7b806f29edde8af178ae9a6d0ad90">Location</a> () const </td></tr>
<tr class="memitem:a2fba0c03cbd4afade7da4fc1e5bb0c0b inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_point.html">Point</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a2fba0c03cbd4afade7da4fc1e5bb0c0b">Heading</a> () const </td></tr>
<tr class="memitem:aefe4361f213e12c50c1bd40a70daa5a2 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_point.html">Point</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#aefe4361f213e12c50c1bd40a70daa5a2">LiftLine</a> () const </td></tr>
<tr class="memitem:acfeeb57de6a94b1e3d68a7f24e8a9cff inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_point.html">Point</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#acfeeb57de6a94b1e3d68a7f24e8a9cff">BeamLine</a> () const </td></tr>
<tr class="memitem:a60c5e5f05f780f8accae363e9748131c inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_point.html">Point</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a60c5e5f05f780f8accae363e9748131c">Velocity</a> () const </td></tr>
<tr class="memitem:a9f82b440b9156266414c98ff15688545 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_point.html">Point</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a9f82b440b9156266414c98ff15688545">Acceleration</a> () const </td></tr>
<tr class="memitem:ae2f2fa70cb366f708fe10065186e3ad0 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#ae2f2fa70cb366f708fe10065186e3ad0">Thrust</a> () const </td></tr>
<tr class="memitem:a4c2142777216044b02549418b13a6280 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a4c2142777216044b02549418b13a6280">TransX</a> () const </td></tr>
<tr class="memitem:a006733966b21b0c69c6c2af69d60979d inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a006733966b21b0c69c6c2af69d60979d">TransY</a> () const </td></tr>
<tr class="memitem:aad0dad42db34cd3e615533af4a85285f inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#aad0dad42db34cd3e615533af4a85285f">TransZ</a> () const </td></tr>
<tr class="memitem:a322750d3a90eeb77c3cac7e6ba2700a0 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a322750d3a90eeb77c3cac7e6ba2700a0">Drag</a> () const </td></tr>
<tr class="memitem:af82790fdb4dd82da5248f764416fc9f6 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#af82790fdb4dd82da5248f764416fc9f6">Roll</a> () const </td></tr>
<tr class="memitem:adedbc5524c3cac44ba2047a6e2bf2bd3 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#adedbc5524c3cac44ba2047a6e2bf2bd3">Pitch</a> () const </td></tr>
<tr class="memitem:a52e9b61fdca0610b1ad843221a1bd8d1 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a52e9b61fdca0610b1ad843221a1bd8d1">Yaw</a> () const </td></tr>
<tr class="memitem:ada01c690d060ad1dca5c7473db1a5faa inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_point.html">Point</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#ada01c690d060ad1dca5c7473db1a5faa">Rotation</a> () const </td></tr>
<tr class="memitem:a241e57056e2ae1c6e4d8dad01c037e70 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a241e57056e2ae1c6e4d8dad01c037e70">Alpha</a> () const </td></tr>
<tr class="memitem:a84bdec78881ec165e6092a93a1b93820 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a84bdec78881ec165e6092a93a1b93820">FlightPathYawAngle</a> () const </td></tr>
<tr class="memitem:acc20166630ba1960a7569292a6f3c84e inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#acc20166630ba1960a7569292a6f3c84e">FlightPathPitchAngle</a> () const </td></tr>
<tr class="memitem:a31367f0054fd23eeb6458c42bb663fc7 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a31367f0054fd23eeb6458c42bb663fc7">Radius</a> () const </td></tr>
<tr class="memitem:ad352c259640eecc358bf7d7e07552bbe inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#ad352c259640eecc358bf7d7e07552bbe">Mass</a> () const </td></tr>
<tr class="memitem:ad665e179e85f6d2f19536cf54b7f03a5 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#ad665e179e85f6d2f19536cf54b7f03a5">Integrity</a> () const </td></tr>
<tr class="memitem:aec2a93daff24c5b87933914cbcb100fe inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#aec2a93daff24c5b87933914cbcb100fe">Life</a> () const </td></tr>
<tr class="memitem:a8300d2af00872a70a579d0a787755eb2 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a8300d2af00872a70a579d0a787755eb2">Shake</a> () const </td></tr>
<tr class="memitem:a807db494059310172bf5d9d5af046ff8 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="struct_point.html">Point</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a807db494059310172bf5d9d5af046ff8">Vibration</a> () const </td></tr>
<tr class="memitem:ac6be8bd79bd6622fd67d2d71f8e125af inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_camera.html">Camera</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#ac6be8bd79bd6622fd67d2d71f8e125af">Cam</a> () const </td></tr>
<tr class="memitem:a6d29a1d011f1ab48bcea980ded24ce4d inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_graphic.html">Graphic</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a6d29a1d011f1ab48bcea980ded24ce4d">Rep</a> () const </td></tr>
<tr class="memitem:a7ad335cf65139df6d8b6c1446394ce89 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_light.html">Light</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a7ad335cf65139df6d8b6c1446394ce89">LightSrc</a> () const </td></tr>
<tr class="memitem:afb266107493cf3b901d794903d6f1077 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_director.html">Director</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#afb266107493cf3b901d794903d6f1077">GetDirector</a> () const </td></tr>
<tr class="memitem:a6fe4f81f6b9d31efe9fb2da0f9441842 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a6fe4f81f6b9d31efe9fb2da0f9441842">SetAngularRates</a> (double r, double p, double y)</td></tr>
<tr class="memitem:a09066864123e7aef872e6e4dc12bdb3e inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a09066864123e7aef872e6e4dc12bdb3e">GetAngularRates</a> (double &amp;r, double &amp;p, double &amp;y)</td></tr>
<tr class="memitem:ac280a1b30eb3ce6974ed2e8846ed0436 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#ac280a1b30eb3ce6974ed2e8846ed0436">SetAngularDrag</a> (double r, double p, double y)</td></tr>
<tr class="memitem:a3d2cd41c96af67bfe07094b54c9b2591 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a3d2cd41c96af67bfe07094b54c9b2591">GetAngularDrag</a> (double &amp;r, double &amp;p, double &amp;y)</td></tr>
<tr class="memitem:aebfee03c9e62ec742802649673a0aa20 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#aebfee03c9e62ec742802649673a0aa20">GetAngularThrust</a> (double &amp;r, double &amp;p, double &amp;y)</td></tr>
<tr class="memitem:a4b41633cf4646992e3ab9b8f5ec6a533 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a4b41633cf4646992e3ab9b8f5ec6a533">SetVelocity</a> (const <a class="el" href="struct_point.html">Point</a> &amp;v)</td></tr>
<tr class="memitem:a2cc71395813b8b47968c48ec92ce6698 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a2cc71395813b8b47968c48ec92ce6698">SetAbsoluteOrientation</a> (double <a class="el" href="class_physical.html#a1342854ae569c6e053a106df8e97a522">roll</a>, double <a class="el" href="class_physical.html#a760b0be05697d5fbe9a652b8d9fe48d0">pitch</a>, double <a class="el" href="class_physical.html#a9622775c81f1934ee5b3370008aceb15">yaw</a>)</td></tr>
<tr class="memitem:abbe74c30cd25ae97fd2482dbdc7b6437 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#abbe74c30cd25ae97fd2482dbdc7b6437">CloneCam</a> (const <a class="el" href="class_camera.html">Camera</a> &amp;<a class="el" href="class_physical.html#ae6b6004183efe4ba25cace4fc3f2fd4d">cam</a>)</td></tr>
<tr class="memitem:a38c066fefef072c683edd9939a9ac2e9 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a38c066fefef072c683edd9939a9ac2e9">SetDrag</a> (double d)</td></tr>
<tr class="memitem:a2e44e8b8d36e7664301923699854e1d3 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a2e44e8b8d36e7664301923699854e1d3">SetPrimary</a> (const <a class="el" href="struct_point.html">Point</a> &amp;loc, double <a class="el" href="class_physical.html#a7c68f6e32d5725d6ae0099400f7c0b6e">mass</a>)</td></tr>
<tr class="memitem:a27342f7cf678159a9c56a1c9c4e8d918 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a27342f7cf678159a9c56a1c9c4e8d918">SetGravity</a> (double g)</td></tr>
<tr class="memitem:a21d9cb466d59d3854164f0124290d5e2 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a21d9cb466d59d3854164f0124290d5e2">SetBaseDensity</a> (double d)</td></tr>
<tr class="memitem:a7cb3fe422731fe3cc790ecc5aa91a74d inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#a7cb3fe422731fe3cc790ecc5aa91a74d">GetBaseDensity</a> () const </td></tr>
<tr class="memitem:ab2128e0932c88467240448f972e23239 inherit pub_methods_class_physical"><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical.html#ab2128e0932c88467240448f972e23239">GetDensity</a> () const </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a4daaaf536b7498c3444e968578499ad5"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_asteroid.html#a4daaaf536b7498c3444e968578499ad5">Initialize</a> ()</td></tr>
<tr class="memitem:a113885d63a74fbe47fde4dd272addd3f"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_asteroid.html#a113885d63a74fbe47fde4dd272addd3f">Close</a> ()</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="_asteroid_8h_source.html#l00025">25</a> of file <a class="el" href="_asteroid_8h_source.html">Asteroid.h</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ab2d74e99f6f542e20729741b37fb8693"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Asteroid::Asteroid </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="struct_vec3.html">Vec3</a> &amp;&#160;</td>
          <td class="paramname"><em>pos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>mass</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_asteroid_8cpp_source.html#l00033">33</a> of file <a class="el" href="_asteroid_8cpp_source.html">Asteroid.cpp</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a113885d63a74fbe47fde4dd272addd3f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Asteroid::Close </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_asteroid_8cpp_source.html#l00105">105</a> of file <a class="el" href="_asteroid_8cpp_source.html">Asteroid.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a4daaaf536b7498c3444e968578499ad5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Asteroid::Initialize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_asteroid_8cpp_source.html#l00042">42</a> of file <a class="el" href="_asteroid_8cpp_source.html">Asteroid.cpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>D:/SRC/StarshatterSVN/Stars45/<a class="el" href="_asteroid_8h_source.html">Asteroid.h</a></li>
<li>D:/SRC/StarshatterSVN/Stars45/<a class="el" href="_asteroid_8cpp_source.html">Asteroid.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_asteroid.html">Asteroid</a></li>
    <li class="footer">Generated on Tue Jun 5 2012 20:47:35 for Starshatter_Open by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.1 </li>
  </ul>
</div>
</body>
</html>
